package com.syy.arrange;

import java.util.HashMap;

public class Test {
    public static void main(String[] args) {
        int num = 6;
        long result = 1;
        for (int i = 1; i <= num; i++) {
            result *= i;
        }
        System.out.println("6! = " + result);
    }
}
